﻿using CRM.Models;

namespace CRM.ViewModels.System
{
    public class CompanyPointsConfigVM
    {

        private readonly MyDbContext _dbContext;

        public CompanyPointsConfigVM(MyDbContext dbContext)
        {
            _dbContext = dbContext;
        }

        public int Id { get; set; }
        public int UserId { get; set; }
        public int OemId { get; set; }
        public int GroupId { get; set; }
        public int CompanyId { get; set; }
        public int SendEmailPoints { get; set; }
        
        //没有必要
        public CompanyPointsConfig UpdateModel(CompanyPointsConfig model)
        {
            model.SendEmailPoints = (int)SendEmailPoints;
            return model;
        }
    }
}